package cn.sise.edu.crm.service;

import cn.sise.edu.crm.domain.Role;
import cn.sise.edu.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by chen on 2019/11/3.
 */
public interface IRoleService {
    void insert(Role role, Long[] ids);
    void delete(Long id);
    void update(Role role, Long[] ids);
    Role selectById(Long id);
    List<Role> selectAll();
    PageInfo<Role> query(QueryObject queryObject);

    List<String> selectByEmployee(Long id);
}
